package edu.spec.wfl.week08.class2.homework;

public abstract class Animal {
    public String name;
    public String food;
    public String area;

    public Animal(String name, String food, String area) {
        this.name = name;
        this.food = food;
        this.area = area;
    }

    public abstract String findFood();

    public String eat(){
        return (name+"吃"+food);
    }

    public abstract String wholeLife();
}
